package com.ybvtc.backend.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/index")
public class IndexController {

    @GetMapping("/welcome")
    public String getWelcomeMessage() {
        return "{\"message\": \"欢迎使用人口普查管理系统\", \"totalPopulation\": 1400000000}";
    }
}
